PATH=$$(cd $(top_builddir)/tests && pwd):$${PATH} \
$(NULL)
-uninstalled_test_data = tests/ostree-symlink-stamp
+uninstalled_test_data = tests/ostree-symlink-stamp tests/ostree-prepare-root-symlink-stamp \
+ tests/ostree-remount-symlink-stamp tests/rofiles-fuse-symlink-stamp
dist_uninstalled_test_scripts = tests/test-symbols.sh
tests/libreaddir-rand.so: Makefile
$(AM_V_GEN) ln -fns ../.libs/libreaddir-rand.so tests
ALL_LOCAL_RULES += tests/libreaddir-rand.so
-CLEANFILES += tests/libreaddir-rand.so tests/ostree-symlink-stamp tests/ostree
+CLEANFILES += tests/libreaddir-rand.so tests/ostree-symlink-stamp \
+ tests/ostree-prepare-root-symlink-stamp tests/ostree-remount-symlink-stamp \
+ tests/rofiles-fuse-symlink-stamp tests/ostree
-tests/ostree-symlink-stamp: Makefile
+tests/%-symlink-stamp: Makefile
@set -e; \
- real_bin=`cd $(top_builddir) && ./libtool --mode=execute echo ostree`; \
- ln -sf "$${real_bin}" tests/ostree; \
+ lt_bin=`cd $(top_builddir) && ./libtool --mode=execute echo $*`; \
+ if test "$${lt_bin}" = "$*"; then \
+ real_bin=$(abs_top_builddir)/$*; \
+ else \
+ real_bin="$${lt_bin}"; \
+ fi; \
+ ln -sf "$${real_bin}" tests/$*; \
touch $@
# Unfortunately the glib test data APIs don't actually handle